Start and End times doubling up in drop down list

7 views
Skip to first unread message

Warp Kid

unread,
Jun 11, 2010, 11:57:29 AM6/11/10
to jquery week calendar
Hi There,
I appear to have a bit of an issue with jquery week calendar.
When i first add an event to the calendar the drop downs contain the
correct number of times.
If I then bring the new event dialogue up again by adding a new event
there are twice as many times in the drop downs.
With each new event the times double up.

Anyone got a quick fix for this?
I have modified the source a little so can't easily switch to to the
new version so if there a bit of code I can drop in to fix I would be
most grateful.

Thanks!

Julien MUETTON

unread,
Jun 11, 2010, 12:14:28 PM6/11/10
to jquery-wee...@googlegroups.com
Hi,

what you're talking about does not sound like a weekcalendar issue, as dropdowns are not packaged with the plugin, it looks like it comes from the way you display the dialog.

I guess you add times to the dropdown everytime you show the dialog aren't you ? in such a case, clean the values first.

If I misunderstood what you're talking about, write back and link to an example so we can understand better your problem.

Julien.

Jesse Sanders

unread,
Jun 11, 2010, 12:31:06 PM6/11/10
to jquery-wee...@googlegroups.com
There is jquery code (I believe in a file ending in.config.js) in the file that loads the times into the dropdown.  If the times are doubling up, you will just need to use some jquery to remove the select and readd it.  It's really pretty

I hope that this gets you heading in the right direction.

Jesse Sanders
BrieBug Software, Inc.
http://www.briebug.com
Reply all
Reply to author
Forward
0 new messages